package com.jingdianjichi.auth.convert;

import com.jingdianjichi.auth.bo.AuthPermissionBO;
import com.jingdianjichi.auth.entity.AuthPermission;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

/**
 * 权限角色转换器
 */
@Mapper
public interface AuthPermissionBOConverter {
    AuthPermissionBOConverter INSTANCE = Mappers.getMapper(AuthPermissionBOConverter.class);

    AuthPermission converterBOToEntity(AuthPermissionBO authPermissionBO);

    AuthPermissionBO converterEntityToBO(AuthPermission authPermission);
}
